#ifndef _TOOLS_TESTOBJECT_H_
#define _TOOLS_TESTOBJECT_H_

#include <iterator>
#include <algorithm>

namespace tools{

void testObject(std::wstring& file){
	roperator::Object o;
	try{
		o.load(file);
	} catch(util::Exception& e){
		std::wcout << L"Object test failed: " << e.what() << std::endl;
		assert(false);
	}
	std::wcout << L"Object was succesfully loaded:" << std::endl;
	
	o.dump();
}

}

#endif
